package com.manage.system.api.response;

import com.manage.system.api.dto.SysRoleDto;
import com.manage.system.api.entity.SysDept;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

@Data
public class UserInfoVo implements Serializable {
    private Long id;

    private String tenantCode;

    private Long deptId;

    private String loginName;

    private String userName;

    private String userType;

    private String email;

    private String phone;

    private String sex;

    private String headPortrait;

    private String password;

    private Boolean status;

    private Boolean delFlag;

    private String loginIp;

    private LocalDateTime loginDate;

    private Long createStaff;

    private LocalDateTime createTime;

    private Long updateStaff;

    private LocalDateTime updateTime;

    private String remark;

    private SysDept dept;

    private List<SysRoleDto> roles;

    private Set<String> buttons;
}
